From 5da39735331c9f3a4e24b38f72b30afc197318be Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 13 Aug 2017 19:56:00 +0200 Subject: Update and disown latex-beamer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- latex-beamer [disowned]/PKGBUILD | 24 ++++++++++++++++++++++++ latex-beamer [disowned]/latex-beamer.install | 4 ++++ 2 files changed, 28 insertions(+) create mode 100644 latex-beamer [disowned]/PKGBUILD create mode 100644 latex-beamer [disowned]/latex-beamer.install (limited to 'latex-beamer [disowned]') diff --git a/latex-beamer [disowned]/PKGBUILD b/latex-beamer [disowned]/PKGBUILD new file mode 100644 index 0000000..f279d7e --- /dev/null +++ b/latex-beamer [disowned]/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +# Contributor: Daniel Ehlers + +pkgname=latex-beamer +pkgver=3.42 +pkgrel=1 +pkgdesc='Beamer is a LaTeX class for creating slides for presentations.' +arch=('any') +url='https://github.com/josephwright/beamer' +license=('GPL') +install='latex-beamer.install' +depends=('texlive-core') +source=("https://github.com/josephwright/beamer/archive/v${pkgver}.tar.gz") +sha256sums=('6ac3708cd44638d2fb237c33e871cb1d2616d6e10597266bb1ea443341141bda') + + +package() { + cd "${srcdir}/beamer-${pkgver}" + + find . -name "*.sty" | xargs sed -i -e '/\ProvidesPackageRCS \$Header\$/ s/^/%/' + mkdir -p -- "${pkgdir}/usr/share/texmf-dist/tex/latex/beamer" + cp -r -- * "${pkgdir}/usr/share/texmf-dist/tex/latex/beamer" +} + diff --git a/latex-beamer [disowned]/latex-beamer.install b/latex-beamer [disowned]/latex-beamer.install new file mode 100644 index 0000000..cef1902 --- /dev/null +++ b/latex-beamer [disowned]/latex-beamer.install @@ -0,0 +1,4 @@ +post_install(){ + /usr/bin/texhash + /bin/true +} -- cgit v1.2.3-70-g09d2